package com.winning.vsts.merge.service.service;

import com.winning.vsts.merge.service.domain.VstsUser;
import com.winning.vsts.merge.service.jpa.VstsUserJpaRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * vsts 用户service层
 *
 * @author xcl <xcl@winning.com.cn>
 * @date 2021/11/17
 */
@Service
public class VstsUserService {

    @Autowired
    private VstsUserJpaRepository vstsUserJpaRepository;

    public VstsUser getByUserName(String name) {
        return vstsUserJpaRepository.findByUserName(name);
    }
}
